package com.leyou.item.pojo;

/**
 * *
 * Created by IntelliJ IDEA.
 * Author: caoLei
 * Date: 2018/10/25
 * Time: 19:54
 * *
 */

import java.util.List;

/**
 *解决：页面展示的是商品分类和品牌名称，而数据库中保存的是id的问题
 */
public class SpuBo extends Spu {

    String cname;  //商品分类名称

    String bname;  //品牌名称

    SpuDetail spuDetail; //商品详情

    List<Sku> skus;   //sku列表  （从后台request payload看出来是一个集合）

    public SpuDetail getSpuDetail() {
        return spuDetail;
    }

    public void setSpuDetail(SpuDetail spuDetail) {
        this.spuDetail = spuDetail;
    }

    public List<Sku> getSkus() {
        return skus;
    }

    public void setSkus(List<Sku> skus) {
        this.skus = skus;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }
}
